package org.chen.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("task_background")
public class TaskBackground {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @TableField("background_color")
    private String backgroundColor;

    @TableField("background_fit")
    private String backgroundFit;

    @TableField("background_play_style")
    private String backgroundPlayStyle;

    @TableField("background_type")
    private String backgroundType;

    @TableField("background_url")
    private String backgroundUrl;

    @TableField("background_id")
    private String backgroundId;

    @TableField("y_offset")
    private double yOffset;

    @TableField("x_offset")
    private double xOffset;

    private double scale;
}
